package com.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * VoteType entity. @author MyEclipse Persistence Tools
 */

public class VoteType implements java.io.Serializable {

	// Fields

	private Integer vtId;
	private String vtName;
	private Set votes = new HashSet(0);

	// Constructors

	/** default constructor */
	public VoteType() {
	}

	/** minimal constructor */
	public VoteType(String vtName) {
		this.vtName = vtName;
	}

	/** full constructor */
	public VoteType(String vtName, Set votes) {
		this.vtName = vtName;
		this.votes = votes;
	}

	// Property accessors

	public Integer getVtId() {
		return this.vtId;
	}

	public void setVtId(Integer vtId) {
		this.vtId = vtId;
	}

	public String getVtName() {
		return this.vtName;
	}

	public void setVtName(String vtName) {
		this.vtName = vtName;
	}

	public Set getVotes() {
		return this.votes;
	}

	public void setVotes(Set votes) {
		this.votes = votes;
	}

}